package com.leo.quartz.common.response.task;

import com.leo.quartz.common.lang.RunStatusEnum;
import com.leo.quartz.entity.TriggerPO;

/**
 * @author liusl
 * @version 1.0
 * @date 2018/12/12 23:24
 */
public class TriggerVO {

    private Long jobId;
    private String jobKey;
    private TriggerPO.TriggerType triggerType;
    private String triggerKey;
    private String triggerDesc;
    private RunStatusEnum triggerStatus;
    private String triggerRule;

    public Long getJobId() {
        return jobId;
    }

    public void setJobId(Long jobId) {
        this.jobId = jobId;
    }

    public String getJobKey() {
        return jobKey;
    }

    public void setJobKey(String jobKey) {
        this.jobKey = jobKey;
    }

    public TriggerPO.TriggerType getTriggerType() {
        return triggerType;
    }

    public void setTriggerType(TriggerPO.TriggerType triggerType) {
        this.triggerType = triggerType;
    }

    public String getTriggerKey() {
        return triggerKey;
    }

    public void setTriggerKey(String triggerKey) {
        this.triggerKey = triggerKey;
    }

    public String getTriggerDesc() {
        return triggerDesc;
    }

    public void setTriggerDesc(String triggerDesc) {
        this.triggerDesc = triggerDesc;
    }

    public RunStatusEnum getTriggerStatus() {
        return triggerStatus;
    }

    public void setTriggerStatus(RunStatusEnum triggerStatus) {
        this.triggerStatus = triggerStatus;
    }

    public String getTriggerRule() {
        return triggerRule;
    }

    public void setTriggerRule(String triggerRule) {
        this.triggerRule = triggerRule;
    }
}
